Skip to content

build(deps): update sprintf requirement from 0.3 to 0.4 #198

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 21, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 6, 2024

Updates the requirements on sprintf to permit the latest version.

Release notes

Sourced from sprintf's releases.

v0.4.0

  • FormatElement now borrows a &str instead of owning a String, leading to fewer allocations and a significant performance improvement (PR #10PR10, thanks to Samuel Collins (Humandoodlebug)).
    • this is a breaking API change to the lower-level v0.2 API
    • the original and primary (v0.1) API is unchanged

https://crates.io/crates/sprintf/0.4.0 https://docs.rs/sprintf/0.4.0/sprintf/

Changelog

Sourced from sprintf's changelog.

v0.4.0 (2024-12-05)

  • FormatElement now borrows a &str instead of owning a String, leading to fewer allocations and a significant performance improvement (PR #10PR10, thanks to Samuel Collins (Humandoodlebug)).
    • this is a breaking API change to the lower-level v0.2 API
    • the original and primary (v0.1) API is unchanged

v0.3.1 (2024-07-14)

v0.3.0 (2024-05-31)

  • More standard string and character types (PR #7PR7, thanks to Flávio J. Saraiva (flaviojs))
    • Support CString and &CStr for %s, assuming the're UTF-8 encoded
    • Support u8 and i8 (ASCII), u16 (UCS-2) and u32 (UCS-4) for %c

v0.2.1 (2024-02-12)

  • Fix accidental backwards-incompatible API change in v0.2.0

v0.2.0 (2024-02-12)

  • Expose the some of the sprintf::parser module in the API to allow other to use the parse_format_string function (PR #5PR5, thanks to David Alexander Bjerremose (DaBs))
  • PrintfError now implements std::error::Error

v0.1.4 (2023-09-10)

v0.1.3 (2022-09-23)

... (truncated)

Commits
  • eb36b58 Prepare for version 0.4.0
  • 54665d9 Merge pull request #10 from pexip/perf-optimisation
  • ea6cb05 fix parse_format_string doctest
  • feca96b replace recursion in parser with looping.
  • a3af68d reduce allocations in parser
  • 7332453 release 0.3.1
  • 80b98de correct typo in README
  • ae82e03 Merge pull request #9 from flaviojs/print-pointer-addresses
  • ede689f update main branch name in github action
  • 0afdeb9 Print pointer addresses with %p.
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Dec 6, 2024
@sandhose sandhose enabled auto-merge February 21, 2025 13:25
dependabot bot and others added 2 commits February 21, 2025 14:48
Updates the requirements on [sprintf](https://github.com/tjol/sprintf-rs) to permit the latest version.
- [Release notes](https://github.com/tjol/sprintf-rs/releases)
- [Changelog](https://github.com/tjol/sprintf-rs/blob/main/CHANGELOG.md)
- [Commits](tjol/sprintf-rs@v0.3.0...v0.4.0)

---
updated-dependencies:
- dependency-name: sprintf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@sandhose sandhose force-pushed the dependabot/cargo/sprintf-0.4 branch from e51dd90 to 15a6bf2 Compare February 21, 2025 13:48
@sandhose sandhose merged commit 1220ba5 into main Feb 21, 2025
8 checks passed
@dependabot dependabot bot deleted the dependabot/cargo/sprintf-0.4 branch February 21, 2025 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant